<%= form_for @obj do %>
  <%= file_field(:foo, :bar => "7") %>
<% end =%>
